package com.hl.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 *
 * @author 程序猿DD
 * @version 1.0.0
 * @blog http://blog.didispace.com
 *
 */
@Controller
public class HelloController {


    @RequestMapping("/del")
    @ResponseBody
    public String del(HttpServletRequest request) {
        System.out.println("sssss:");
        return (String)request.getSession().getAttribute("userD");
    }

}